package com.pureut.system.domain.dto;

import java.util.List;

/**
 * @Description 树结构
 * @Param
 * @Date 22-11-30
 * @Author hl
 **/
public class ProjectRecursionDto {

    /**
     *  主键
     */
    private String id;

    /**
     * 名称
     */
    private String name;
    /**
     *  父id
     */
    private Long parentId;

    /**
     *
     * 子集
     */
    List<ProjectRecursionDto> children;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public List<ProjectRecursionDto> getChildren() {
        return children;
    }

    public void setChildren(List<ProjectRecursionDto> children) {
        this.children = children;
    }
}
